﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Sugar.hisEnties
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("YS_ZY_JBZD")]
    public partial class YS_ZY_JBZD
    {
           public YS_ZY_JBZD(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string JLBH {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string JZHM {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BRBH {get;set;}

           /// <summary>
           /// Desc:1.西医 2.中医
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public decimal? ZXLB {get;set;}

           /// <summary>
           /// Desc:诊断类别 REF: GY_XTPZ.DMLB = 316
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ZDLB {get;set;}

           /// <summary>
           /// Desc:从BSWDW4.0开始不在使用,保留仅为与原系统一至,默认填0
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public string JBZH {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZNXH {get;set;}

           /// <summary>
           /// Desc:1.主诊 0.非主诊
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? ZZBJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JBDM {get;set;}

           /// <summary>
           /// Desc:BS-EMR4.7 ，冗余以提升SQL关联性能，内容等于疾病代码（JBDM）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? JBXH {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JBMC {get;set;}

           /// <summary>
           /// Desc:1.西医 :REF: EMR_JBBW.JBBW   2.中医:REF:EMR_ZYZH.ZHBS
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? FJBS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MSZD {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ZGQK {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ZDYS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime ZDSJ {get;set;}

           /// <summary>
           /// Desc:0.未作废 1.已作废
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZFBZ {get;set;}

           /// <summary>
           /// Desc:0.未提交 1.已提交
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? TJBZ {get;set;}

           /// <summary>
           /// Desc:0.否(不需报卡)  1.是(未报卡)   2.报(已报卡)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? BKZT {get;set;}

           /// <summary>
           /// Desc:0.疑似 1.确诊
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? QZBZ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? QZSJ {get;set;}

           /// <summary>
           /// Desc:标识当前诊断的疾病及附加是否为自定义 0.未用自定 1.自定疾病 2.自定附加 3.全部定义
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? DYBZ {get;set;}

           /// <summary>
           /// Desc:诊断类型 REF: GY_XTPZ.DMLB = 313
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZDLX {get;set;}

           /// <summary>
           /// Desc:诊断序号，医生每下一次诊断，加1
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZDXH {get;set;}

           /// <summary>
           /// Desc:附加名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string FJMC {get;set;}

           /// <summary>
           /// Desc:院感标志 1：是 0：否
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? YGBZ {get;set;}

           /// <summary>
           /// Desc:业务标识
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string YWBS {get;set;}

           /// <summary>
           /// Desc:作废医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ZFYS {get;set;}

           /// <summary>
           /// Desc:作废时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ZFSJ {get;set;}

           /// <summary>
           /// Desc:医学评分表序号，当该诊断需要诊断依据时用于保存关联的医学评分表序号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? PFBXH {get;set;}

           /// <summary>
           /// Desc:只针对第一出院诊断
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZDBZBF {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ZDBZBZ {get;set;}

           /// <summary>
           /// Desc:只针对出院第一诊断 0     符合 1     不符合，关联MQMS_ZDZGBZ 获取标准明细
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZGBZBF {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ZGBZBZ {get;set;}

           /// <summary>
           /// Desc:只针对出院第一诊断 0-在专科范围内 1-超出专科疾病范围
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? CZKBZ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public decimal JGID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? BFJMCFBZ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? SMJMCFBZ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string FJHYY {get;set;}

    }
}
